﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace AppFramework.DinosaursParkMes.SignalR.DTo
{
    public class RequestAnnouncementDto
    {
        /// <summary>
        /// 标题名称
        /// </summary>
        [Required]//不可为空
        [MaxLength(30)]//最长字符串验证
        public string Titlename { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [Required]
        public string Content { get; set; }
    }
}
